package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Userinfo entity. @author MyEclipse Persistence Tools
 */

public class Userinfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private String nickname;
	private String sex;
	private String mail;
	private Integer mobile;
	private String school;
	private String dorm;
	private String room;
	private String filelink;
	private String filename;
	private Set users = new HashSet(0);

	// Constructors

	/** default constructor */
	public Userinfo() {
	}

	/** minimal constructor */
	public Userinfo(String sex) {
		this.sex = sex;
	}

	/** full constructor */
	public Userinfo(String nickname, String sex, String mail, Integer mobile,
			String school, String dorm, String room, String filelink,
			String filename, Set users) {
		this.nickname = nickname;
		this.sex = sex;
		this.mail = mail;
		this.mobile = mobile;
		this.school = school;
		this.dorm = dorm;
		this.room = room;
		this.filelink = filelink;
		this.filename = filename;
		this.users = users;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNickname() {
		return this.nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getMail() {
		return this.mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public Integer getMobile() {
		return this.mobile;
	}

	public void setMobile(Integer mobile) {
		this.mobile = mobile;
	}

	public String getSchool() {
		return this.school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public String getDorm() {
		return this.dorm;
	}

	public void setDorm(String dorm) {
		this.dorm = dorm;
	}

	public String getRoom() {
		return this.room;
	}

	public void setRoom(String room) {
		this.room = room;
	}

	public String getFilelink() {
		return this.filelink;
	}

	public void setFilelink(String filelink) {
		this.filelink = filelink;
	}

	public String getFilename() {
		return this.filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public Set getUsers() {
		return this.users;
	}

	public void setUsers(Set users) {
		this.users = users;
	}

}